package com.gem.back.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gem.back.entity.AoaNoticeUserRelation;
import com.gem.back.mapper.AoaNoticeUserRelationMapper;
import com.gem.back.service.IAoaNoticeUserRelationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hhhy
 * @since 2020-03-05
 */
@Service
public class AoaNoticeUserRelationServiceImpl extends ServiceImpl<AoaNoticeUserRelationMapper, AoaNoticeUserRelation> implements IAoaNoticeUserRelationService {
    @Autowired
    private AoaNoticeUserRelationMapper aoaNoticeUserRelationMapper;

    @Override
    public AoaNoticeUserRelation findNoticeUserRelationById(Integer noticeId, Integer userId) {
        return aoaNoticeUserRelationMapper.findNoticeUserRelationById(noticeId,userId);
    }
}
